package com.Others;

import com.badlogic.androidgames.framework.gl.SpriteBatcher;
import com.baseinfinityrun.Assets;

public class Portal extends Obstacle
{
	public Portal()
	{
		super();
		this.tag = "portal";
		this.image = Assets.barrel;
	}
	
	@Override
	public void Draw(SpriteBatcher batcher) 
	{        
        batcher.beginBatch(Assets.obstacles);
        batcher.drawSprite(this.position.x, this.position.y, this.rectCollider.width, this.rectCollider.height, this.image);
        batcher.endBatch();
	}
}
